﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Domain.EntityInfo;
using Zocono.WCS.Infrastructure.ApllicationDto;
using Zocono.WCS.Infrastructure.ApllicationDto.DtoWcsManage;

namespace Zocono.WCS.Domain.DomainRepository
{
    public interface ITelegramRecordInfoRepository : IRepository<TelegramRecordInfo>
    {
        /// <summary>
        /// 获取报文记录列表
        /// </summary>
        /// <param name="exp">查询条件</param>
        /// <param name="page">分页信息</param>
        /// <returns></returns>
        Task<PageDto<TelegramRecordInfoDto>> GetPagedTelegramRecordInfoAsync(Expression<Func<TelegramRecordInfo, bool>> exp, PageModel page);
    }
}
